//
//  UICollectionView+Extensions.h
//  mobile
//
//  Created by Demi on 10/03/2017.
//  Copyright © 2017 azazie. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <ReactiveObjC/ReactiveObjC.h>

#import "BaseCollectionViewDelegateProxy.h"

NS_ASSUME_NONNULL_BEGIN

@interface UICollectionView (Extensions)

+ (instancetype)horizontalFlowLayoutCollectionViewWithCellClass:(Class)cellClass;

+ (instancetype)normalFlowLayoutCollectionViewWithCellClass:(Class)cellClass;

@property (nonatomic, readonly, strong) BaseCollectionViewDelegateProxy *delegateProxy;
@property (nonatomic, readonly, strong) UICollectionViewFlowLayout *flowLayout;
@property (nonatomic, readonly, strong) RACSignal<NSNumber *> *didSelectSignal;

@end

NS_ASSUME_NONNULL_END
